package com.dream.keigezhushou.Activity.bean;

/**
 *
 *  商品的Bean类
 */

public class GoodsBean {

    /** 商品的Id */
    private String goodsId;

    /** 商品的名称 */
    private String goodsName;

    /** 商品的描述 */
    private String goodsDesc;

    /** 商品的数量 */
    private int goodsNum;

    /** 商品的价格 */
    private double goodsPrice;

    /** 商品的旧价格 */
    private double goodsOldPrice;

    /** 商品的类型 */
    private String goodsType;

    /** 商品是否选中 */
    private boolean isChecked;

    /** 商品是否编辑 */
    private boolean isEditing;

    public GoodsBean(String goodsId,String goodsName,String goodsDesc,String goodsType,int goodsNum,double goodsPrice,double goodsOldPrice,boolean isChecked,boolean isEditing) {

        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsNum = goodsNum;
        this.goodsPrice = goodsPrice;
        this.goodsOldPrice = goodsOldPrice;
        this.isChecked = isChecked;
        this.isEditing = isEditing;
        this.goodsType = goodsType;
        this.goodsDesc = goodsDesc;
    }

    public GoodsBean() {
        super();
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(int goodsNum) {
        this.goodsNum = goodsNum;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public double getGoodsOldPrice() {
        return goodsOldPrice;
    }

    public void setGoodsOldPrice(double goodsOldPrice) {
        this.goodsOldPrice = goodsOldPrice;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public boolean isEditing() {
        return isEditing;
    }

    public void setEditing(boolean editing) {
        isEditing = editing;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }
}
